import bus from '@/bus' 
let data = {
  form: {
    brandId: '',
    ownerCategoryId: null,
    keyword: '',
    code: ''
  },
  status: 'pass', 
  totalItem: 1, 
  pageSize: window.$pageSize, 
  currentPage: 1, 
  columns: [{
    type: 'selection',
    width: 60,
    align: 'left'
  }, {
    title: '商品编码',
    key: 'code',
    align: 'left',
    minWidth: 200
  }, {
    title: '商品名称',
    key: 'title',
    align: 'left',
    minWidth: 200,
    tooltip: true
  }, {
    title: '品牌',
    key: 'brandName',
    minWidth: 200,
    align: 'left'
  }, {
    title: '后台分类',
    minWidth: 200,
    key: 'categoryName',
    align: 'left'
  }, {
    title: '状态',
    key: 'isShelf',
    minWidth: 200,
    align: 'left',
    render: (h, params) => {
      return h('div', params.row.isShelf ? '上架' : '下架')
    }
  }]
}

export default data